package tenant

import (
	"context"
	"ruoyi-vue-pro-go/internal/service"

	"ruoyi-vue-pro-go/api/tenant/v1"
)

func (c *ControllerV1) GetByWebsite(ctx context.Context, req *v1.GetByWebsiteReq) (res *v1.GetByWebsiteRes, err error) {
	return service.Tenant().GetByWebsite(ctx, req)
}
